Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications
outputHeader
This procedure outputs a MIME header and any cookie information needed by the Web object.
Location:web2\template\html-map.wParameters: None Notes:
web2\template\wrap-cgi.w
- Always run
outputHeaderbefore generating any HTML code. All new cookies must be created prior to the call tooutputContentTypethat is embedded inoutputHeader.- If one Web object is going to run another Web object, remember that only the Web object that actually creates the HTML page should run
outputHeader.- Modify
outtputHeaderwhen you want a Web object to be state-aware or when you want to add special cookie information in your application. Instructions for doing both these tasks are provided in the template for this procedure. For state-aware Web objects, this procedure is a good place to set thewebStateandwebTimeoutattributes, as follows:
Examples: See theprocess-web-requestfunction inweb2\template\html-map.w.See also:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |